package com.fr.report.script.core.parser;

import com.fr.report.script.Calculator;

public class ClosedExpression extends Atom
{
  private ConditionalOrExpression exp;

  ClosedExpression(ConditionalOrExpression paramConditionalOrExpression)
  {
    this.exp = paramConditionalOrExpression;
  }

  public Object eval(Calculator paramCalculator)
    throws UtilEvalError
  {
    return this.exp.eval(paramCalculator);
  }

  public void traversal4Tiny(TinyHunter paramTinyHunter)
  {
    this.exp.traversal4Tiny(paramTinyHunter);
  }

  public String exString(Calculator paramCalculator)
  {
    return "(" + this.exp.exString(paramCalculator) + ")";
  }

  public String toString()
  {
    return "(" + this.exp + ")";
  }

  public String getExpression(int paramInt1, int paramInt2, int paramInt3, int paramInt4, boolean paramBoolean)
  {
    return "(" + this.exp.getExpression(paramInt1, paramInt2, paramInt3, paramInt4, paramBoolean) + ")";
  }

  public String[] parserParameter()
  {
    return this.exp.parserParameter();
  }
}